home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-06-03 | 3.2 KB | 179 lines | [TEXT/CWIE] |
- //========================================================================================
- //
- // File: Part.r
- // Release Version: $ ODF 1 $
- //
- // Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
- //
- //========================================================================================
-
- #define SystemSevenOrBetter 1 // we want the extended types
- #define SystemSevenOrLater 1 // Types.r uses this variable
-
- #include "Types.r"
- #include "SysTypes.r"
- #include "CodeFragmentTypes.r"
-
- #ifndef __ODTYPES_R__
- #include "ODTypes.r"
- #endif
-
- #ifndef FWBLDDEF_H
- #include "FWBldDef.h"
- #endif
-
- #ifndef DEFINES_K
- #include "Defines.k"
- #endif
-
- #ifndef BINDING_K
- #include "Binding.k"
- #endif
-
- //-------------------------------------------------------------------------------------
- // Code Fragment Resource
- //-------------------------------------------------------------------------------------
-
- resource 'cfrg' (0) {
- { /* array memberArray: 2 elements */
- /* [1] */
- #ifdef FW_BUILD_MAC68K
- kMotorola,
- #else
- kPowerPC,
- #endif
- kFullLib,
- kNoVersionNum,
- kNoVersionNum,
- kDefaultStackSize,
- kNoAppSubFolder,
- kIsLib,
- kOnDiskFlat,
- kZeroOffset,
- kWholeFork,
- kAMSampleEditor,
- /* [2] */
- #ifdef FW_BUILD_MAC68K
- kMotorola,
- #else
- kPowerPC,
- #endif
- kFullLib,
- kNoVersionNum,
- kNoVersionNum,
- kDefaultStackSize,
- kNoAppSubFolder,
- kIsLib,
- kOnDiskFlat,
- kZeroOffset,
- kWholeFork,
- "AMSample"
- }
- };
-
- //-------------------------------------------------------------------------------------
- // NMAP Resources
- //-------------------------------------------------------------------------------------
-
- resource kODNameMappings (kKindCategoryMapId) {
- kODKind,
- { /* array Types: 1 elements */
- /* [1] */
- kAMSampleKind,
- kODIsAnISOStringList
- {
- { /* array ClassIDs: 1 elements */
- /* [1] */
- kODCategoryPlainText
- }
- }
- }
- };
-
- resource kODNameMappings (kEditorKindMapId) {
- kODEditorKinds,
- { /* array Types: 1 elements */
- /* [1] */
- kAMSampleEditor,
- kODIsAnISOStringList
- {
- { /* array ClassIDs: 1 elements */
- /* [1] */
- kAMSampleKind
- }
- }
- }
- };
-
- resource kODNameMappings (kEditorUserStringMapId) {
- kODEditorUserString,
- { /* array Types: 1 elements */
- /* [1] */
- kAMSampleEditor,
- kODIsINTLText
- {
- smRoman,
- langEnglish,
- kAMSampleEditorUserString
- }
- }
- };
-
- resource kODNameMappings (kKindUserStringMapId) {
- kODKindUserString,
- { /* array Types: 1 elements */
- /* [1] */
- kAMSampleKind,
- kODIsINTLText
- {
- smRoman,
- langEnglish,
- kAMSampleKindUserString
- }
- }
- };
-
- resource kODNameMappings (kOldMacOSTypeMapId) {
- kODKindOldMacOSType,
- { /* array KeyList: 1 elements */
- /* [1] */
- kAMSampleKind,
- kODIsMacOSType {
- kAMSampleOSType
- }
- }
- };
-
- resource kODNameMappings (kEditorPlatformKinds) {
- kODEditorPlatformKind,
- { /* array KeyList: 1 elements */
- /* [1] */
- kAMSampleEditor,
- kODIsPltfmTypeSpac {
- /* array PltfmTypeSpacList: 2 elements */
- {
- /* [1] */
- kODPlatformFileType,
- kTEXTOSType,
- smRoman,
- langEnglish,
- kDragKindUserString1,
- kODCategoryPlainText,
- /* [2] */
- kODPlatformDataType,
- kTEXTOSType,
- smRoman,
- langEnglish,
- kDragKindUserString2,
- kODCategoryPlainText
- }
- }
- }
- };
-
-
- include "MacIcons.rsrc" not 'ckid';
-
- include "MacVers.rsrc" not 'ckid';
-
-